import { defHttp } from '/@/utils/http/axios';
// import { LoginResultModel, GetUserInfoModel } from './model/indx';
const baseAPi = '/ProjectServer/';

/**
 * @description: 创建工程
 */
export function createProject(data) {
  return defHttp.post({ url: `${baseAPi}CreateProject`, data });
}
/**
 * @description: 获取工程列表
 */
export function getAllProject() {
  return defHttp.post({ url: `${baseAPi}GetAllProject` });
}
/**
 * @description: 获取当前工程
 */
export function getCurrentProjectFullpath() {
  return defHttp.post({ url: `${baseAPi}getcurrentprojectfullpath` });
}
/**
 * @description: 设置工程
 */
export function setProject(data) {
  return defHttp.post({ url: `${baseAPi}SetProject`, data });
}
/**
 * @description: 删除工程
 */
export function deleteProject(data) {
  return defHttp.post({ url: `${baseAPi}DeleteProject`, data });
}
